<?php //$Rev:: 20         $ // DO NOT REMOVE

class CHAT_IN_ENC extends Parser
{
    public function parse($args, $obj)
    {
        $matches = explode(':', $args);
        $obj->core->aim_debug($matches[1] . " has spoken in \"" . $obj->core->user['chats'][$matches[0]] . "\"" . (($matches[3] == 'T')?' (whisper)':''), AIM_RECV);
        $data['screenname']     = $obj->core->aim_normalize($matches[1]);
        $data['message_text']   = trim(strip_tags($matches[3]));
        $data['whisper']        = ($matches[2] == 'T') ? true : false;
        $data['cid']            = $matches[0];
        $data['message_type']   = AIM_MSG_CHAT;
        $obj->core->parser->aim_parse_im($data);
    }
}

?>